package com.wenjunwu.blog.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class SystemResource implements Serializable {

	private static final long serialVersionUID = 1L;

	private Long id;
	private String text;
	private String href;
	private Long parentId;
	private String icon;
	private Long roleId;
	private Date createTime;
	private Date updateTime;
	
	private List<SystemResource> nodes;

	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text == null ? null : text.trim();
	}
	
	public String getHref() {
		return href;
	}
	public void setHref(String href) {
		this.href = href;
	}
	
	public Long getParentId() {
		return parentId;
	}
	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}
	public String getIcon() {
		return icon;
	}
	public void setIcon(String icon) {
		this.icon = icon;
	}
	public Long getRoleId() {
		return roleId;
	}
	public void setRoleId(Long roleId) {
		this.roleId = roleId;
	}
	public List<SystemResource> getNodes() {
		return nodes;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public void setNodes(List<SystemResource> nodes) {
		this.nodes = nodes;
	}
	
}
